<template>
  <panel>
    <div slot="title">{{$t('m.Frequently_Asked_Questions')}}</div>
    <div class="content markdown-body">
      <ul>
        <li>Where is the input and the output?
          <p>Your program shall read input from <code>stdin</code>('Standard Input') and write output to <code>stdout</code>('Standard Output').
            For example,you can use <code>scanf</code> in C or <code>cin</code> in C++ to read from stdin,and use <code>printf</code> in C or <code>cout</code> in C++ to write to stdout.
            User programs are not allowed to read or write files, or you will get a <code>Runtime Error</code>.
          </p>
        </li>
        <li>What's the meaning of the submission execution time?
        <p>The onlinejudge might test your code multiple times with different input files.
          If your code gives the correct answer within the time limit for each input file, the execution time displayed is the max of the time spent for each test case.
          Otherwise, the execution time will have no sense.
        </p>
        </li>
        <li>How can I use C++ Int64?
          <p>You should declare as <code>long long</code> and use with <code>cin/cout</code> or <code>%lld</code>, using<code> __int64</code> will result in <code>Compile Error</code>.</p>
        </li>
        <li>Java specifications?
          <p>All programs must begin in a static main method in a <code>Main</code> class. Do not use public classes: even <code>Main</code> must be non public to avoid compile error.Use buffered I/O to avoid time limit exceeded due to excesive flushing.</p>
        </li>
        <!--<li>About presentation error?-->
          <!--<p>There is no presentation error in this oj.The judger will trim the blacks and wraps in your ouput's <b>last</b> line.-->
            <!--if it's still different with the correct output, the result will be <code>Wrong Answer</code>.</p>-->
        <!--</li>-->
      </ul>
      <ul>
        <li>输入和输出在哪里？
          <p>您的程序应从<code>stdin</code>(“标准输入”) 并将输出写入 <code>“标准输出”</code>('Standard Output').
            例如，您可以在C中使用 <code>scanf</code> 或者C++的 <code>cin</code> 来读取标准输入，在C使用 <code>printf</code> 或者C++的 <code>cout</code> 来输出结果。
            用户程序不允许读取或写入文件，否则您将收到 <code>Runtime Error</code>。
          </p>
        </li>
        <li>提交执行时间是什么意思？
          <p>在线法官可能会使用不同的输入文件多次测试您的代码。如果您的代码在每个输入文件的时间限制内给出正确的答案，则显示的执行时间是每个测试用例所花费的最大时间。
            否则，执行时间将毫无意义。</p>
        </li>
        <li>如何使用 C++ Int64?
          <p>你应该声明 <code>long long</code> 并与 <code>cin/cout</code> 或 <code>%lld</code>一起使用, 使用<code> __int64</code> 将导致 <code>Compile Error</code>.</p>
        </li>
        <li>Java规范？
          <p>所有程序都必须以Main类的静态<code>Main</code>方法开始。 不要使用公共类: 即时 <code>Main</code> 也必须是非公共类以避免编译错误使用缓冲I / O以避免由于过度刷新而导致时间限制。</p>
        </li>
      </ul>
    </div>
  </panel>
</template>

<script>
</script>

<style lang="less" scoped>
  .content {
    font-size: 16px;
    margin: 0 50px 40px 50px;
    > ul {
      list-style: disc;
      li {
        font-size: 16px;
        margin-top: 20px;
        &:first-child {
          margin-top: 0;
        }
        p {
          font-size: 14px;
          margin-top: 5px;
        }
      }
    }
  }
</style>
